package fi.piet.ec2.department;

import org.apache.wicket.IClusterable;

public final class Department implements IClusterable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String id;
	private String name;
	private String description;
	
	public Department() {
		
	}
	
	public Department(final String name, final String description) {
		this.name = name;
		this.description = description;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	/**
	 * used to display name in drop down
	 */
	public String toString() {
		return name;
	}
}
